package cn.rqfund.etl.exchange;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import cn.rqfund.etl.exchange.sina.SinaReadFile;

/**
 * 导入一只股票一天的数据
 * 
 * @author dengrq dengrq@staff.tianya.cn
 * @date 2013-7-29
 */
public class ImportOneBillOneDateRunnable implements Runnable {
	
	private static Logger logger = LoggerFactory.getLogger(ImportOneBillOneDateRunnable.class);
	
	private String date;
	
	private String billNo;
	
	public ImportOneBillOneDateRunnable(String billNo,String date){
		this.billNo = billNo;
		this.date = date;
	}

	@Override
	public void run() {
		
		try {
			ReadFile readFile = new SinaReadFile();
			List<ExchangeVO> exchangeList = readFile.getExchangeList(billNo, date);
			
		} catch(Exception ex){
			logger.error(ex.getMessage(),ex);
		}
		
	}

}
